$defaultWidth: 710px;
$defaultPadding20: 20px;
$defaultPadding10: 10px;
$defaultColor: #ffb72f;
$defaultFontSize: 29px;
$defaultMultipleFontSize: 6px;
.sp-reservation-resources-submit {
  background-color: whitesmoke;
  padding-bottom: calc(env(safe-area-inset-bottom) + 300rpx);
  font-size: $defaultFontSize;
  &-main {
    width: 710px;
    margin: 0 auto;
    padding-top: 22rpx;
  }
  .card {
    width: $defaultWidth;
    //border-radius: 18px;
    padding: $defaultPadding20;
    background-color: white;
    margin: 0 auto $defaultPadding20 auto;
  }
  .item {
    margin: $defaultPadding20 0;
  }
  .icon {
    width: 50px;
    height: 50px;
    margin-left: 6px;
  }
  .flexCSFE {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
  }
  .price {
    font-size: 36rpx;
    color: #e64656;
    opacity: 1;
  }

  //地图
  &-map {
    width: $defaultWidth;
    background-color: white;
    //height: 180px;
    //background: url("https://hyyxboss.oss-cn-shenzhen.aliyuncs.com/wxapp/static/orderingNewModule/pic_map.png")
    //  no-repeat;
    background-size: 100% 100%;
    //margin: 30px auto 0 auto;
    padding: 30px 30px 0 30px;
    display: flex;
    align-items: center;
    position: relative;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    .shopName {
      width: calc($defaultWidth * 0.7);
      font-weight: bold;
      z-index: 1;
    }
    .address {
      width: calc($defaultWidth * 0.7);
    }
    &-info {
      flex: 1;
      z-index: 1;
    }
    &-op {
      z-index: 1;
      //display: flex;
      //flex-wrap: wrap;
      text-align: center;
      width: 60px;
      //margin: 0 20px;
      button {
        width: 100px;
        height: 100px;
        border-radius: 9999px;
      }
    }
    &-bg {
      position: absolute;
      left: 0;
      image {
        width: $defaultWidth;
        height: 180px;
      }
    }
    &-logo {
      width: 50px;
      height: 50px;
      border-radius: 9999px;
    }
  }
  //标签
  &-tags {
    flex-wrap: wrap;
    justify-content: flex-start;
    display: flex;
  }
  &-tag {
    font-family: PingFang SC;
    font-weight: 500;
    color: #909090;
    font-size: 20px !important;
    background: #f6f6f6;
    border-radius: 6px;
    margin-right: 10px;
    padding: 7px 13px;
    display: inline-block;
  }

  //预约人信息录入
  &-people-info {
    border-radius: 0 0 8px 8px;
    button {
      display: inline;
      font-size: 20px;
      padding: 0 $defaultPadding20;
      color: $defaultColor;
      border: 1px solid $defaultColor;
      background-color: white;
    }
    .cancel-box {
      display: flex;
      justify-content: flex-end;
    }
    .sp-reservation-resources-submit-cell {
      &-value {
        flex: 1;
        text-align: right;
        display: flex !important;
        align-items: center !important;
        &-left {
          flex: 1 !important;
        }
        button {
          margin-left: 10px;
        }
      }
    }
  }

  &-shop-info {
    border-radius: 8px;
    &-detail {
      display: flex;
    }
    &-cover {
      //margin-top: 20px;
      width: 150px;
      height: 150px;
      border-radius: 16px;
    }
  }

  &-pay-info {
    border-radius: 8px;
    //margin-bottom: 200px !important;
  }

  &-member {
    background-color: black;
    padding: 20px 10px;
    text-align: right;
    position: fixed;
    width: 100vw;
    bottom: calc(env(safe-area-inset-bottom) + 130px);
    color: white;
    height: 100px;
    font-size: $defaultFontSize;
    .member-main {
      width: $defaultWidth;
      margin: 0 auto;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    .member-pay {
      height: 60px;
      line-height: 60px;
      border: 1px solid white;
      border-radius: 999px;
      margin-left: 10px;
      padding: 0 20px;
    }
  }
  &-submit-footer {
    position: fixed;
    width: 100vw;
    background-color: white;
    bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: calc(env(safe-area-inset-bottom) + 20px);
    min-height: 100px;
    border-top: 1px solid whitesmoke;
    .submit-detail {
    }
    .order-detail {
      flex-wrap: wrap;
      padding-top: $defaultPadding20;
      justify-content: flex-end;
      button {
        margin: $defaultPadding20;
      }
    }
  }
  //cell
  &-cell {
    display: flex;
    align-items: center;
    padding: 15px 0;
    &-label {
      padding: $defaultPadding10;
      //color: gray;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      -o-text-overflow: ellipsis;
    }
    &-value {
      flex: 1;
      text-align: right;
    }
    &-tag {
      font-family: PingFang SC;
      font-weight: 500;
      color: #909090;
      font-size: 22px;
      background: #f6f6f6;
      border-radius: 6px;
      margin-right: 10px;
      padding: 7px 13px;
      display: inline-block;
    }
    &-decs {
      padding: 0;
      margin-left: 20px;
    }
    &-decs-label {
      color: #131313;
      opacity: 0.7;
      padding: 10px 5px;
      font-size: $defaultFontSize;
    }
  }
}
.youjiantou {
  display: inline-block;
  width: 1rem;
  height: 1.125rem;
  margin-right: -10px;
}
checkbox .wx-checkbox-input {
  width: 40rpx;
  height: 40rpx;
  border-radius: 50%;
}
// 复选框选中样式
checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  border-color: $defaultColor;
  background-color: $defaultColor;
}
// 复选框选中之后对号的样式
checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  color: #fff;
}
.btnToPay {
  width: 225rpx;
  height: 67rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffb72f;
  color: #fff;
  border-radius: 33rpx;
  font-size: 32rpx;
}
button::after {
  border: none;
}
.enter_black {
  width: 36px;
  height: 36px;
}

.key {
  margin-left: 6rpx;
}
